package com.cn.entity;

import java.util.Date;

/**
 * Lovestory entity. @author MyEclipse Persistence Tools
 */

public class Lovestory implements java.io.Serializable {

	// Fields

	private Integer id;
	private Integer manId;
	private Integer womanId;
	private String content;
	private String titile;
	private Date marryTime;
	private Integer flag;
	private String photo;

	// Constructors

	/** default constructor */
	public Lovestory() {
	}

	/** full constructor */
	public Lovestory(Integer manId, Integer womanId, String content,
			String titile, Date marryTime, Integer flag, String photo) {
		this.manId = manId;
		this.womanId = womanId;
		this.content = content;
		this.titile = titile;
		this.marryTime = marryTime;
		this.flag = flag;
		this.photo = photo;
	}

	// Property accessors

	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getManId() {
		return this.manId;
	}

	public void setManId(Integer manId) {
		this.manId = manId;
	}

	public Integer getWomanId() {
		return this.womanId;
	}

	public void setWomanId(Integer womanId) {
		this.womanId = womanId;
	}

	public String getContent() {
		return this.content;
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getTitile() {
		return this.titile;
	}

	public void setTitile(String titile) {
		this.titile = titile;
	}

	public Date getMarryTime() {
		return this.marryTime;
	}

	public void setMarryTime(Date marryTime) {
		this.marryTime = marryTime;
	}

	public Integer getFlag() {
		return this.flag;
	}

	public void setFlag(Integer flag) {
		this.flag = flag;
	}

	public String getPhoto() {
		return this.photo;
	}

	public void setPhoto(String photo) {
		this.photo = photo;
	}

}